import { Route } from 'react-keeper'
import LoginFilter from '../../components/loginfilter/index'
import YeWuHome from './yewuhome/'
import TxHome from './txhome/'
import UserLogin from './userlogin/'



const PageHome = (cb) => {
  require.ensure([], () => cb(require('./PageHome.jsx')), 'home')
}


export default {
  route: () => (
    <div>
      <Route index loadComponent={PageHome} path= '/home'  enterFilter={[ LoginFilter ]}  >
        <UserLogin.route/>
        <YeWuHome.route/>
        <TxHome.route/>
      </Route>
    </div>)
};
